package br.com.atid.view.controls
{
	
	import mx.controls.menuClasses.MenuBarItem;
	
	public class CustomMenuBarItem extends MenuBarItem
	{
		
		override public function set data(value:Object):void {
			if(value == null) return;
			super.data = value;
			this.toolTip = MenuItem(value).toolTip;
		}
		
		override public function set enabled(value:Boolean):void{
			super.enabled = value;
		}		
	}
}